package Test_0817.ioperations;

import Test_0817.book.BookShelf;

/**
 * Created with Intellij IDEA
 * Description:
 * User: 星辰
 * Dare: 2024-08-18
 * Time: 0:16
 */
public class ExitOperation implements Ioperation{
    @Override
    public void work(BookShelf bookShelf) {
        System.out.println("退出系统");
        System.exit(0);//相当于return 0
    }
}
